//
// Created by zhanggang on 24-5-25.
//

#ifndef SUM_100_H
#define SUM_100_H

inline int sum_100(int a) {
    int sum = 0;
    for (int i = 0; i <= a; i++) {
        sum += i;
    }
    return  sum;
}
#endif //SUM_100_H
